2025-11-03T21:36:54.595Z ERROR ImageRepository controller/imagerepository_controller_service_account.go:131 failed to update service account {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-integ-app-xunw-test-comp-pac-gitlab-ohgpgk","namespace":"gitlab-rep-ledx"}, "namespace": "gitlab-rep-ledx", "name": "imagerepository-for-integ-app-xunw-test-comp-pac-gitlab-ohgpgk", "reconcileID": "0155ac81-00ee-4910-ad53-9b2efa774122", "ServiceAccountName": "build-pipeline-test-comp-pac-gitlab-ohgpgk", "SecretName": "imagerepository-for-integ-app-xunw-test-comp-pac-gitlab-ohgpgk-image-push", "action": "UPDATE", "error": "Operation cannot be fulfilled on serviceaccounts \"build-pipeline-test-comp-pac-gitlab-ohgpgk\": StorageError: invalid object, Code: 4, Key: /kubernetes.io/serviceaccounts/gitlab-rep-ledx/build-pipeline-test-comp-pac-gitlab-ohgpgk, ResourceVersion: 0, AdditionalErrorMsg: Precondition failed: UID in precondition: 15c654de-72a4-409f-b25b-366a08d69930, UID in object meta: "} github.com/konflux-ci/image-controller/internal/controller.(*ImageRepositoryReconciler).unlinkSecretFromServiceAccount /workspace/internal/controller/imagerepository_controller_service_account.go:131 github.com/konflux-ci/image-controller/internal/controller.(*ImageRepositoryReconciler).Reconcile /workspace/internal/controller/imagerepository_controller.go:128 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Reconcile /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:116 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:303 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:263 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.2 /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:224 2025-11-03T21:36:54.595Z ERROR ImageRepository controller/imagerepository_controller.go:129 failed to unlink secret from service account {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-integ-app-xunw-test-comp-pac-gitlab-ohgpgk","namespace":"gitlab-rep-ledx"}, "namespace": "gitlab-rep-ledx", "name": "imagerepository-for-integ-app-xunw-test-comp-pac-gitlab-ohgpgk", "reconcileID": "0155ac81-00ee-4910-ad53-9b2efa774122", "SaName": "build-pipeline-test-comp-pac-gitlab-ohgpgk", "SecretName": "imagerepository-for-integ-app-xunw-test-comp-pac-gitlab-ohgpgk-image-push", "action": "UPDATE", "error": "Operation cannot be fulfilled on serviceaccounts \"build-pipeline-test-comp-pac-gitlab-ohgpgk\": StorageError: invalid object, Code: 4, Key: /kubernetes.io/serviceaccounts/gitlab-rep-ledx/build-pipeline-test-comp-pac-gitlab-ohgpgk, ResourceVersion: 0, AdditionalErrorMsg: Precondition failed: UID in precondition: 15c654de-72a4-409f-b25b-366a08d69930, UID in object meta: "} github.com/konflux-ci/image-controller/internal/controller.(*ImageRepositoryReconciler).Reconcile /workspace/internal/controller/imagerepository_controller.go:129 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Reconcile /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:116 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:303 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:263 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.2 /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:224 2025-11-03T21:36:54.595Z ERROR controller/controller.go:316 Reconciler error {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-integ-app-xunw-test-comp-pac-gitlab-ohgpgk","namespace":"gitlab-rep-ledx"}, "namespace": "gitlab-rep-ledx", "name": "imagerepository-for-integ-app-xunw-test-comp-pac-gitlab-ohgpgk", "reconcileID": "0155ac81-00ee-4910-ad53-9b2efa774122", "error": "Operation cannot be fulfilled on serviceaccounts \"build-pipeline-test-comp-pac-gitlab-ohgpgk\": StorageError: invalid object, Code: 4, Key: /kubernetes.io/serviceaccounts/gitlab-rep-ledx/build-pipeline-test-comp-pac-gitlab-ohgpgk, ResourceVersion: 0, AdditionalErrorMsg: Precondition failed: UID in precondition: 15c654de-72a4-409f-b25b-366a08d69930, UID in object meta: "} sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).reconcileHandler /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:316 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).processNextWorkItem /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:263 sigs.k8s.io/controller-runtime/pkg/internal/controller.(*Controller[...]).Start.func2.2 /cachi2/output/deps/gomod/pkg/mod/sigs.k8s.io/controller-runtime@v0.19.0/pkg/internal/controller/controller.go:224 2025-11-03T21:36:54.688Z INFO ImageRepository controller/imagerepository_controller.go:1137 Application pull secret updated after removing registry auth {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-integ-app-xunw-test-comp-pac-gitlab-ohgpgk","namespace":"gitlab-rep-ledx"}, "namespace": "gitlab-rep-ledx", "name": "imagerepository-for-integ-app-xunw-test-comp-pac-gitlab-ohgpgk", "reconcileID": "3186b0d5-3f14-4138-9091-22add60c6128", "application": "integ-app-xunw"} 2025-11-03T21:36:55.362Z INFO ImageRepository.RepositoryCleanup controller/imagerepository_controller.go:688 Deleted push robot account {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-integ-app-xunw-test-comp-pac-gitlab-ohgpgk","namespace":"gitlab-rep-ledx"}, "namespace": "gitlab-rep-ledx", "name": "imagerepository-for-integ-app-xunw-test-comp-pac-gitlab-ohgpgk", "reconcileID": "3186b0d5-3f14-4138-9091-22add60c6128", "RobotAccountName": "gitlab_rep_ledx_test_comp_pac_gitlab_ohgpgk_a2063eeb15", "action": "DELETE"} 2025-11-03T21:36:55.439Z INFO Application controller/application_controller.go:400 Removed secret link from service account {"controller": "application", "controllerGroup": "appstudio.redhat.com", "controllerKind": "Application", "Application": {"name":"integ-app-xunw","namespace":"gitlab-rep-ledx"}, "namespace": "gitlab-rep-ledx", "name": "integ-app-xunw", "reconcileID": "dadde46e-1b7d-4d71-87c8-257bad9420d7", "ServiceAccountName": "konflux-integration-runner", "SecretName": "integ-app-xunw-pull", "action": "UPDATE"} 2025-11-03T21:36:55.505Z INFO Application controller/application_controller.go:101 Application finalizer removed {"controller": "application", "controllerGroup": "appstudio.redhat.com", "controllerKind": "Application", "Application": {"name":"integ-app-xunw","namespace":"gitlab-rep-ledx"}, "namespace": "gitlab-rep-ledx", "name": "integ-app-xunw", "reconcileID": "dadde46e-1b7d-4d71-87c8-257bad9420d7", "action": "DELETE"} 2025-11-03T21:36:55.881Z INFO ImageRepository.RepositoryCleanup controller/imagerepository_controller.go:697 Deleted pull robot account {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-integ-app-xunw-test-comp-pac-gitlab-ohgpgk","namespace":"gitlab-rep-ledx"}, "namespace": "gitlab-rep-ledx", "name": "imagerepository-for-integ-app-xunw-test-comp-pac-gitlab-ohgpgk", "reconcileID": "3186b0d5-3f14-4138-9091-22add60c6128", "RobotAccountName": "gitlab_rep_ledx_test_comp_pac_gitlab_ohgpgk_9a33aad89a_pull", "action": "DELETE"} 2025-11-03T21:36:56.523Z INFO ImageRepository.RepositoryCleanup controller/imagerepository_controller.go:711 Deleted image repository {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-integ-app-xunw-test-comp-pac-gitlab-ohgpgk","namespace":"gitlab-rep-ledx"}, "namespace": "gitlab-rep-ledx", "name": "imagerepository-for-integ-app-xunw-test-comp-pac-gitlab-ohgpgk", "reconcileID": "3186b0d5-3f14-4138-9091-22add60c6128", "ImageRepository": "gitlab-rep-ledx/test-comp-pac-gitlab-ohgpgk", "action": "DELETE"} 2025-11-03T21:36:56.549Z INFO ImageRepository controller/imagerepository_controller.go:170 Image repository finalizer removed {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-integ-app-xunw-test-comp-pac-gitlab-ohgpgk","namespace":"gitlab-rep-ledx"}, "namespace": "gitlab-rep-ledx", "name": "imagerepository-for-integ-app-xunw-test-comp-pac-gitlab-ohgpgk", "reconcileID": "3186b0d5-3f14-4138-9091-22add60c6128", "action": "DELETE"} 2025-11-03T21:37:11.746Z INFO ImageRepository controller/imagerepository_controller.go:1137 Application pull secret updated after removing registry auth {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-test-app-ackn-test-comp-dmsl","namespace":"build-e2e-zptc"}, "namespace": "build-e2e-zptc", "name": "imagerepository-for-test-app-ackn-test-comp-dmsl", "reconcileID": "a63b4486-56d7-496f-864e-79fff487c438", "application": "test-app-ackn"} 2025-11-03T21:37:12.712Z INFO ImageRepository.RepositoryCleanup controller/imagerepository_controller.go:688 Deleted push robot account {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-test-app-ackn-test-comp-dmsl","namespace":"build-e2e-zptc"}, "namespace": "build-e2e-zptc", "name": "imagerepository-for-test-app-ackn-test-comp-dmsl", "reconcileID": "a63b4486-56d7-496f-864e-79fff487c438", "RobotAccountName": "build_e2e_zptc_test_comp_dmsl_c553eedb1b", "action": "DELETE"} 2025-11-03T21:37:12.866Z INFO Application controller/application_controller.go:400 Removed secret link from service account {"controller": "application", "controllerGroup": "appstudio.redhat.com", "controllerKind": "Application", "Application": {"name":"test-app-ackn","namespace":"build-e2e-zptc"}, "namespace": "build-e2e-zptc", "name": "test-app-ackn", "reconcileID": "147061d5-a780-4593-837a-ea8913050edd", "ServiceAccountName": "konflux-integration-runner", "SecretName": "test-app-ackn-pull", "action": "UPDATE"} 2025-11-03T21:37:12.902Z INFO Application controller/application_controller.go:101 Application finalizer removed {"controller": "application", "controllerGroup": "appstudio.redhat.com", "controllerKind": "Application", "Application": {"name":"test-app-ackn","namespace":"build-e2e-zptc"}, "namespace": "build-e2e-zptc", "name": "test-app-ackn", "reconcileID": "147061d5-a780-4593-837a-ea8913050edd", "action": "DELETE"} 2025-11-03T21:37:13.352Z INFO ImageRepository.RepositoryCleanup controller/imagerepository_controller.go:697 Deleted pull robot account {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-test-app-ackn-test-comp-dmsl","namespace":"build-e2e-zptc"}, "namespace": "build-e2e-zptc", "name": "imagerepository-for-test-app-ackn-test-comp-dmsl", "reconcileID": "a63b4486-56d7-496f-864e-79fff487c438", "RobotAccountName": "build_e2e_zptc_test_comp_dmsl_8146e335e8_pull", "action": "DELETE"} 2025-11-03T21:37:14.093Z INFO ImageRepository.RepositoryCleanup controller/imagerepository_controller.go:711 Deleted image repository {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-test-app-ackn-test-comp-dmsl","namespace":"build-e2e-zptc"}, "namespace": "build-e2e-zptc", "name": "imagerepository-for-test-app-ackn-test-comp-dmsl", "reconcileID": "a63b4486-56d7-496f-864e-79fff487c438", "ImageRepository": "build-e2e-zptc/test-comp-dmsl", "action": "DELETE"} 2025-11-03T21:37:14.106Z INFO ImageRepository controller/imagerepository_controller.go:170 Image repository finalizer removed {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-test-app-ackn-test-comp-dmsl","namespace":"build-e2e-zptc"}, "namespace": "build-e2e-zptc", "name": "imagerepository-for-test-app-ackn-test-comp-dmsl", "reconcileID": "a63b4486-56d7-496f-864e-79fff487c438", "action": "DELETE"} 2025-11-03T21:37:15.971Z INFO ImageRepository.RepositoryCleanup controller/imagerepository_controller.go:688 Deleted push robot account {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-test-app-ackn-test-comp-tdwb","namespace":"build-e2e-zptc"}, "namespace": "build-e2e-zptc", "name": "imagerepository-for-test-app-ackn-test-comp-tdwb", "reconcileID": "eaa70f2b-468f-452f-92f2-73fe39143319", "RobotAccountName": "build_e2e_zptc_test_comp_tdwb_4c7e166529", "action": "DELETE"} 2025-11-03T21:37:16.621Z INFO ImageRepository.RepositoryCleanup controller/imagerepository_controller.go:697 Deleted pull robot account {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-test-app-ackn-test-comp-tdwb","namespace":"build-e2e-zptc"}, "namespace": "build-e2e-zptc", "name": "imagerepository-for-test-app-ackn-test-comp-tdwb", "reconcileID": "eaa70f2b-468f-452f-92f2-73fe39143319", "RobotAccountName": "build_e2e_zptc_test_comp_tdwb_33d2132787_pull", "action": "DELETE"} 2025-11-03T21:37:17.340Z INFO ImageRepository.RepositoryCleanup controller/imagerepository_controller.go:711 Deleted image repository {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-test-app-ackn-test-comp-tdwb","namespace":"build-e2e-zptc"}, "namespace": "build-e2e-zptc", "name": "imagerepository-for-test-app-ackn-test-comp-tdwb", "reconcileID": "eaa70f2b-468f-452f-92f2-73fe39143319", "ImageRepository": "build-e2e-zptc/test-comp-tdwb", "action": "DELETE"} 2025-11-03T21:37:17.353Z INFO ImageRepository controller/imagerepository_controller.go:170 Image repository finalizer removed {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-test-app-ackn-test-comp-tdwb","namespace":"build-e2e-zptc"}, "namespace": "build-e2e-zptc", "name": "imagerepository-for-test-app-ackn-test-comp-tdwb", "reconcileID": "eaa70f2b-468f-452f-92f2-73fe39143319", "action": "DELETE"} 2025-11-03T21:37:17.930Z INFO ImageRepository.RepositoryCleanup controller/imagerepository_controller.go:688 Deleted push robot account {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-test-app-ackn-test-symlink-comp-luql","namespace":"build-e2e-zptc"}, "namespace": "build-e2e-zptc", "name": "imagerepository-for-test-app-ackn-test-symlink-comp-luql", "reconcileID": "12e0b0db-df74-48a8-b4ba-129e3c9e2c2a", "RobotAccountName": "build_e2e_zptc_test_symlink_comp_luql_468ed7488b", "action": "DELETE"} 2025-11-03T21:37:18.453Z INFO ImageRepository.RepositoryCleanup controller/imagerepository_controller.go:697 Deleted pull robot account {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-test-app-ackn-test-symlink-comp-luql","namespace":"build-e2e-zptc"}, "namespace": "build-e2e-zptc", "name": "imagerepository-for-test-app-ackn-test-symlink-comp-luql", "reconcileID": "12e0b0db-df74-48a8-b4ba-129e3c9e2c2a", "RobotAccountName": "build_e2e_zptc_test_symlink_comp_luql_207e78bd40_pull", "action": "DELETE"} 2025-11-03T21:37:19.865Z INFO ImageRepository.RepositoryCleanup controller/imagerepository_controller.go:711 Deleted image repository {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-test-app-ackn-test-symlink-comp-luql","namespace":"build-e2e-zptc"}, "namespace": "build-e2e-zptc", "name": "imagerepository-for-test-app-ackn-test-symlink-comp-luql", "reconcileID": "12e0b0db-df74-48a8-b4ba-129e3c9e2c2a", "ImageRepository": "build-e2e-zptc/test-symlink-comp-luql", "action": "DELETE"} 2025-11-03T21:37:19.879Z INFO ImageRepository controller/imagerepository_controller.go:170 Image repository finalizer removed {"controller": "imagerepository", "controllerGroup": "appstudio.redhat.com", "controllerKind": "ImageRepository", "ImageRepository": {"name":"imagerepository-for-test-app-ackn-test-symlink-comp-luql","namespace":"build-e2e-zptc"}, "namespace": "build-e2e-zptc", "name": "imagerepository-for-test-app-ackn-test-symlink-comp-luql", "reconcileID": "12e0b0db-df74-48a8-b4ba-129e3c9e2c2a", "action": "DELETE"}